package models

import "gorm.io/gorm"

type Cart struct {
	gorm.Model
	UserId    uint    `gorm:"type:int(10)" json:"userId" `
	ProductId uint    `gorm:"type:int(10)" json:"productId" `
	Quantity  int     `gorm:"type:int(10)" json:"quantity"`
	SubTotal  float64 `gorm:"type:decimal(10,2)" json:"subTotal"`
}
